package com.yfp.client.service.impl;

import com.yfp.client.domain.MarCouponDirectional;
import com.yfp.client.mapper.MarCouponDirectionalMapper;
import com.yfp.client.service.MarCouponDirectionalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 优惠券定向发放
 * 
 * @CreateDate: 2024/9/12 14:57
 * @UpdateUser: 
 * @UpdateDate: 2024/9/12 14:57
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Service
public class MarCouponDirectionalServiceImpl implements MarCouponDirectionalService {
    @Autowired
    private MarCouponDirectionalMapper marCouponDirectionalMapper;

    @Override
    public List<MarCouponDirectional> findByMobile(String mobile) {
        return marCouponDirectionalMapper.findByMobile(mobile);
    }

    @Override
    public void editStatus(Long id, Integer status) {
        marCouponDirectionalMapper.editStatus(id, status);
    }
}
